var mongoose = require('mongoose')

var schema = require('../config/schema')
var categorySchema = mongoose.Schema(schema.category)

// vacationSchema.methods.getDisplayPrice = function(){

//     return '$' + (this.priceInCents/100).toFixed(2);
// }

var categoryModel = mongoose.model('category', categorySchema)

module.exports = categoryModel;
